#if !defined(__IO_CONFIG_MAP_H__)
#define __IO_CONFIG_MAP_H__

#include "api_config.h"
#if API_ENABLE_CONFIG_IO

#include "stdint.h"
#include "http_server.h"

typedef uint16_t (*io_config_fn_t)(http_server_t server, httpd_ws_frame_t *frame, void *data);
void io_config_add(io_config_fn_t fn);
void io_config_remove(io_config_fn_t fn);
uint16_t io_config_call(http_server_t server, httpd_ws_frame_t *frame, void *data);

#endif

#endif // __IO_CONFIG_MAP_H__
